// http://acm.hdu.edu.cn/webcontest/contest_showproblem.php?pid=1002&ojid=0&cid=14153&hide=0
#include <iostream>
using namespace std;

int main()
{
    ios::sync_with_stdio(false);
    int n;
    bool trace[10000];
    while (cin >> n)
    {
        trace[0] = false;
        trace[1] = true;
        for (int i = 2; i <= n; i++)
        {
            trace[i] = false;
            for (int j = 1; j <= i; j *= 2)
            {
                if (trace[i - j] == false)
                {
                    trace[i] = true;
                    break;
                }
            }
        }
        if (trace[n])
        {
            cout << "Kiki" << endl;
        }
        else
        {
            cout << "Cici" << endl;
        }
    }
    return 0;
}